-
Notifications
You must be signed in to change notification settings - Fork 227
Add no-GIL interpreter support #641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add `pytest-run-parallel` as dependency, test no-GIL interpreters in CI, and mark Cython module as safe for freethreaded interpreters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @clin1234! Thanks for working on this. I'm not the maintainer here, but I'm leaving a couple of comments to help move this forward.
@@ -0,0 +1,51 @@ | |||
#!/usr/bin/env python3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to #613 (comment), sharing Packer
objects wouldn't be supported under free-threading, so this test is probably not needed. Could we run the test suite with pytest-run-parallel
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whatever works: I borrowed this test from another fork, and I'm still learning how to modernize existing pytest
tests to use pytest-run-parallel
Co-authored-by: Lysandros Nikolaou <[email protected]>
No description provided.